package com.hlkj.cartservice.service;

import com.hlkj.pojo.common.TbBrand;
import com.hlkj.pojo.entity.PageResult;
import com.hlkj.pojo.entity.Result;

import java.util.List;

/**
 * TbBrand服务接口
 */
public interface TbBrandService {
    public List<TbBrand> findAllBrands();

    public TbBrand findBrandById(Long id);

    public Integer addBrand(TbBrand brand);
    public Integer updateBrand(TbBrand brand);
    public  void delete(Long[] ids);
    public PageResult findPage(int pageNum,int pageSize);
    public PageResult findPage(TbBrand brand,int pageNum,int pageSize);
}
